package cn.catsdad.entity;

import cn.catsdad.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.MappedSuperclass;

/**
 * 部门与人员关联实体
 *
 * @author xuyonglong
 * @version V1.0 2023/3/29
 */
@EqualsAndHashCode(callSuper = true)
@Data
@MappedSuperclass
public class DepartmentUser extends BaseEntity {

    /**
     * 部门id
     */
    private Long departmentId;

    /**
     * 用户id
     */
    private Long userId;


}
